package com.study.spmongodb.book.wwj.char26;

/**
 * @author MI
 * @version 1.0
 * @date 2020/12/3 20:50
 */
public class Production extends InstructionBook {

    /**
     * 产品编号
     */
    private final int proID;

    public Production(int proID) {
        this.proID = proID;
    }

    @Override
    protected void firstPorcess() {
        System.out.println("execute the " + proID + " first process");

    }

    @Override
    protected void sencodProcess() {
        System.out.println("execute the " + proID + " second process");
    }
}
